<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>笔记的创建</title>
    <link crossorigin='anonymous' href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
    <div class="container">
        <div class="row">
            <div class="col-xs-6 col-xs-offset-3">
                <h2 class="page-header">创建笔记</h2>
                <form method="POST" action="/note/create">
                    <div class="form-group">
                      <label for="exampleInputEmail1">标题</label>
                      <input type="text" class="form-control" id="exampleInputEmail1" name="title">
                    </div>
                    <div class="form-group">
                      <label for="exampleInputPassword1">内容</label>
                      <textarea name="content" class="form-control" rows="5"></textarea>
                    </div>
                    <hr>
                    <button type="submit" class="btn btn-primary btn-block">添加</button>
                  </form>
            </div>
        </div>
    </div>
</body>
</html>